package com.aspose.cells;

class zbyh extends zcdb {
   zbyh(zbqs var1) throws Exception {
      this.d = 183;
      int var2 = 20;
      if (var1.a != null) {
         var2 += var1.a.length() * 2 + 4;
      }

      if (var1.e != null) {
         var2 += 4 + var1.e.length + 4;
      }

      this.c = new byte[var2];
      if (!var1.o) {
         this.c[0] = 4;
      }

      if (var1.e != null) {
         this.c[1] = 1;
      }

      if (var1.q != -1) {
         System.arraycopy(com.aspose.cells.b.a.zc.a(var1.q), 0, this.c, 2, 4);
      }

      int var3 = 20;
      if (var1.a != null) {
         var3 = zcch.a(this.c, var3, var1.a);
      }

      if (var1.e != null) {
         System.arraycopy(com.aspose.cells.b.a.zc.a(var1.e.length), 0, this.c, var3, 4);
         var3 += 4;
         System.arraycopy(var1.e, 0, this.c, var3, var1.e.length);
      }

   }
}
